package org.ruixue.util;

import java.rmi.server.UID;
import java.util.UUID;

public class SnoGerUtil
{
	/**
	 * 获取23为UID
	 * 
	 * @return
	 */
	public static String getUID()
	{
		return new UID().toString().replaceAll(":", "").replace("-", "");
	}

	/**
	 * 获取32位UUID
	 * 
	 * @return
	 */
	public static String getUUID()
	{
		return UUID.randomUUID().toString().replaceAll("-", "");
	}

}
